package com.btkjgc.models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
// default package



/**
 * BalanceRefund entity. @author MyEclipse Persistence Tools
 */

@Entity
@Table(name = "balance_refund_t")
@DynamicUpdate(true)
@DynamicInsert(true)
public class BalanceRefund extends Base implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Integer accountid;
     private Integer type;
     private Integer amount;
     private String reason;
     private Integer del;
     private Integer operid;
     private Date createdate;
     private Date operdate;
     private Integer status;
     private String checkreason;
 
 	@Id  
 	@Column(name="id",unique=true)  
    @GeneratedValue(strategy=GenerationType.AUTO)  
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccountid() {
        return this.accountid;
    }
    
    public void setAccountid(Integer accountid) {
        this.accountid = accountid;
    }

    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getAmount() {
        return this.amount;
    }
    
    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getReason() {
        return this.reason;
    }
    
    public void setReason(String reason) {
        this.reason = reason;
    }

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public Integer getOperid() {
		return operid;
	}

	public void setOperid(Integer operid) {
		this.operid = operid;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Date getOperdate() {
		return operdate;
	}

	public void setOperdate(Date operdate) {
		this.operdate = operdate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCheckreason() {
		return checkreason;
	}

	public void setCheckreason(String checkreason) {
		this.checkreason = checkreason;
	}

}